<!DOCTYPE html>
<html>
	<head>
		<script src="https://cdn.jsdelivr.net/npm/vue"></script>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<input type="text"  v-model="data">
			<p>{{sun}}</p>
		</div>
	</body>
	<script type="text/javascript">
		var app = new Vue({
			el:"#app",
			data:{
				data:"4"
			},
			computed:{
				sun:{
					get:function(){
						return this.data ** 2
					},
					set:function(new_args){
						return new_args ** 2
						}
						
						
				}
			}
		})
	</script>
	
</html>
